class fatheClass{
	public int value;
	public void f(){
		value = 100;
		System.out.println("FatherClass.Value = " + value);
	}
}
class ChildClass extends fatheClass{
	public int value;
	public void f(){
		super.f();
		value = 200;
		System.out.println("childClass.value = " + value);
		System.out.println(value);
		System.out.println(super.value);
	}
}


public class TextInherit {
		public static void main(String[] args){
			ChildClass cc = new ChildClass();
			cc.f();
		}
}
